package zdsmj;

public class VIPManager {
    int integral;//积分
    String vip_name;//会员姓名
    int vip_id;//会员账号
    int Blance;//余额
    int vip_pwd;//会员密码

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public String getVip_name() {
        return vip_name;
    }

    public void setVip_name(String vip_name) {
        this.vip_name = vip_name;
    }

    public int getVip_id() {
        return vip_id;
    }

    public void setVip_id(int vip_id) {
        this.vip_id = vip_id;
    }

    public int getBlance() {
        return Blance;
    }

    public void setBlance(int blance) {
        Blance = blance;
    }

    public int getVip_pwd() {
        return vip_pwd;
    }

    public void setVip_pwd(int vip_pwd) {
        this.vip_pwd = vip_pwd;
    }
    public VIPManager(){};

    public VIPManager(
                      String vip_name,
                      int vip_id,
                      int vip_pwd,
                      int integral,int Blance){
        this.vip_name=vip_name;
        this.vip_id=vip_id;
        this.vip_pwd=vip_pwd;
        this.Blance=Blance;
        this.integral=integral;
    }


    @Override
    public String toString() {
        return "会员姓名:"+vip_name+"\n会员账号:"+vip_id+"\n账户余额:"+Blance+"\n积分："+integral;
    }
}
